Ext.require(['AM.service.Support', 'AM.component.menu.MenuItemFactory']);
Ext.define("AM.component.Video", {


    extend:'Ext.Component',


    xtype:'xbxVideo',


    autoEl:'video',


    style:{
        position:'absolute'
    },


    src: null,


    constructor:function () {
        var me = this;
        me.callParent(arguments)
        me.addListener('render', function () {
            me.el.dom.src = me.src;
            me.el.dom.controls = 'controls';

            var sp = AM.service.Support;
            sp.drag(me);
            sp.contextmenu(me);
            sp.cacheCmp(me);
        })
    }
});
